#ifndef SRC_WDMBOARD_H_
#define SRC_WDMBOARD_H_
#include <qobjectdefs.h>

#include <QInputDialog>
#include <QPushButton>
#include <QHBoxLayout>
#include <QLabel>
#include <QTextEdit>
#include <QtXml>
#include "./nodes.h"


typedef unsigned char BYTE;


class WDMPortObject: public ObjectNode {

public:
	WDMPortObject();
    BaseNode* clone() { return new WDMPortObject; }
    QDialog* getDialog() {return 0;};
    QString getIconPath() { return QString(":/Images/class.png"); }
    QString getText() { return "WDMPort"; }
    DiagramType getDiagramType() { return WDMBoard; }
    void draw(QPainter &painter);  // NOLINT

    void setId(BYTE byId) {
      this->m_byId = byId;
    };

private:
	BYTE m_byId;
};

#if 0
typedef struct _attr
{
	QString qstrAttrName;
	QString qstrAttrValue;
};



class WDMObject: public ObjectNode {

public:
	WDMObject();
    BaseNode* clone() { return new WDMObject; }
    QDialog* getDialog() {return 0;};
    QString getIconPath() { return QString(":/Images/class.png"); }
    QString getText() { return "WDMPort"; }
    DiagramType getDiagramType() { return WDMBoard; }
    void draw(QPainter &painter);  // NOLINT



private:

};
#endif


#endif

